@echo off
set   CurDate=%date:~0,10%
echo %CurDate%
D:\xampp\mysql\bin\mysqldump -u root -p123456 auto > e:\auto.%CurDate%.sql

echo backup is successful!